cmake_minimum_required(VERSION 3.5.1)

add_subdirectory( creep_decider )
add_subdirectory( lane_change_decider )
add_subdirectory( open_space_decider )
add_subdirectory( path_assessment_decider )
add_subdirectory( path_bounds_decider )
add_subdirectory( path_decider )
add_subdirectory( path_lane_borrow_decider )
add_subdirectory( rule_based_stop_decider )
add_subdirectory( speed_bounds_decider )
add_subdirectory( speed_decider )
add_subdirectory( utils )


add_library( decider_base  decider.cc )
target_link_libraries(  decider_base
                                        common::status
                                        planning::frame

                                        task
                                        )

install(TARGETS decider_base
        EXPORT  apollo-export
        LIBRARY DESTINATION lib
        ARCHIVE DESTINATION lib
        RUNTIME DESTINATION bin
        INCLUDES DESTINATION .
        )